<script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/js/init.js"></script>
<div class="ev-formulario">
    <h3>Novo projeto</h3>

    <form action="<?php echo $this->baseUrl() ?>/projeto/projeto/novo" method="post" name="formulario" id="formulario">
        <input type="hidden" name="fk_cliente" value="<?php echo $this->rowCliente->id_cliente; ?>">
        <fieldset>
            <div class="campo">
                <label for="fk_cliente"><?php echo $this->translate('fk_cliente'); ?>&nbsp; :</label>
                <b><?php echo $this->rowCliente->st_nome; ?></b>
            </div>

            <div class="campo">
                <label for="fk_tipo_projeto"><?php echo $this->translate('fk_tipo_projeto'); ?>&nbsp;<span class="campoObrigatorio">*</span>: </label>
                <?php echo $this->formSelect("fk_tipo_projeto", null, array( "id" => "fk_tipo_projeto", "title" => $this->translate("fk_tipo_projeto"), "class" => "text ui-widget-content ui-corner-all required"), $this->aReferencias["fk_tipo_projeto"]); ?>
            </div>

            <div class="campo">
                <label for="fk_apoio_situacao"><?php echo $this->translate('fk_apoio_situacao'); ?>&nbsp;<span class="campoObrigatorio">*</span>: </label>
                <?php echo $this->formSelect( "fk_apoio_situacao", null, array( "id" => "fk_apoio_situacao", "title" => $this->translate("fk_apoio_situacao"), "class" => "text ui-widget-content ui-corner-all required"), $this->aReferencias["fk_apoio_situacao"]); ?>
            </div>

            <div class="campo">
                <label for="st_nome"><?php echo $this->translate('st_nome'); ?>&nbsp;<span class="campoObrigatorio">*</span>: </label>
                <input class="text ui-widget-content ui-corner-all required" type="text" name="st_nome" id="st_nome" title="<?php echo $this->translate("st_nome"); ?>"  maxlength="200" />
            </div>

            <div class="campo">
                <label for="vl_valor"><?php echo $this->translate('vl_valor'); ?>&nbsp;<span class="campoObrigatorio">*</span>: </label>
                <input class="text ui-widget-content ui-corner-all valor required" type="text" name="vl_valor" id="vl_valor" title="<?php echo $this->translate("vl_valor"); ?>"   />
            </div>

            <div class="campo">
                <label for="dt_inicio"><?php echo $this->translate('dt_inicio'); ?>: </label>
                <input class="text ui-widget-content ui-corner-all data" type="text" name="dt_inicio" id="dt_inicio" title="<?php echo $this->translate("dt_inicio"); ?>"  maxlength="45" />
            </div>

            <div class="campo">
                <label for="dt_fim"><?php echo $this->translate('dt_fim'); ?>: </label>
                <input class="text ui-widget-content ui-corner-all data" type="text" name="dt_fim" id="dt_fim" title="<?php echo $this->translate("dt_fim"); ?>"   />
            </div>

            <div class="campo">
                <label for="st_svn"><?php echo $this->translate('st_svn'); ?>: </label>
                <input class="text ui-widget-content ui-corner-all" type="text" name="st_svn" id="st_svn" title="<?php echo $this->translate("st_svn"); ?>" maxlength="45" />
            </div>
        </fieldset>
    </form>
</div>
<script type="text/javascript">
    $().ready(function() {
        $("form").validate({ignoreTitle: true});
    });
</script>
